package net.cathackers.devel.scmp.auth.impl;

import net.cathackers.devel.scmp.auth.interfaces.AuthenticationCredentials;
import net.cathackers.devel.scmp.auth.interfaces.UserID;

public class AuthenticationCredentialsImpl implements AuthenticationCredentials {

    private UserID uID_;
    private byte[] pass_;
    
    public AuthenticationCredentialsImpl(UserID uID, byte[] pass){
	this.uID_ = uID;
	this.pass_= pass;
    }
    
    @Override
    public byte[] getPassword() {
	return this.pass_;
    }

    @Override
    public UserID getUserID() {
	return this.uID_;
    }

    @Override
    public void setPassword(byte[] pass) {
	this.pass_ = pass;
    }

    @Override
    public void setUserID(UserID uID) {
	this.uID_ = uID;
	
    }

}